﻿class MouseFollower extends MovieClip
{
	private var _follower : MovieClip;
	public function MouseFollower (mc : MovieClip)
	{
		_follower = mc;
		_follower ._x = _root._xmouse;
		_follower ._y = _root._ymouse;
		follow (_follower)
	}
	private function follow (mc : MovieClip)
	{
		_follower.onMouseMove = function ()
		{
			this._x = _root._xmouse;
			this._y = _root._ymouse;
			this._rotation = _root._xmouse;
			this._alpha = _root._ymouse/Stage.height*100;
		}
	}
}
